﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DMS.Business.Modules.Knowledge;

namespace DMS.Web.Modules.Knowledge
{
    public partial class KnowledgeView : System.Web.UI.Page
    {
        public string KnowledgeTitle = "";

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                CommonKnowledge obj = KnowledgeService.GetKnowledge(Request["id"]);
                KnowledgeTitle = obj.Title + "【" + obj.PublishTime + "】";
                divContent.InnerHtml = Server.HtmlDecode(obj.Content);
            }
        }
    }
}